<?

include('custom/partytabs.php');
include_once('custom/characterlist.php');
?>
<table width="100%">
  <tr>
    <td width="50%" valign="top">
      My Combat Team:
    <? DisplayCharacterList($this->groupMembers, 'Move =&gt;', actionUrl('index', 'party', 'leaveteam='), 'p_key'); ?>
    </td><td valign="top">
      Everybody:
    <? if ($this->model->maxGroup <= sizeof($this->groupMembers))
        DisplayCharacterList($this->partyMembers);
      else
        DisplayCharacterList($this->partyMembers, '&lt;= Join Team', actionUrl('index', 'party', 'jointeam='), 'p_key'); ?>
    </td>
  </tr>
</table>